package cn.tedu.baidashi.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Items implements Serializable {

    private Integer id;
    private String itemsName;
    private Integer catId;
    private Integer sellCounts;
    private Integer itemsStatus;
    private String synopsis;
    private String content;
    private BigDecimal price;
    private Integer stock;
    private String specification;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;

    private ItemsImg itemsImg;
    private Category category;

}
